package com.ncs.leisure.overall.business.dao.impl;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.ncs.leisure.overall.business.dao.MemberDAO;

public class MemberDAOImpl extends HibernateDaoSupport implements MemberDAO {

	public void delete(Object obj) {
		
		
	}

	public List findAll() {
		
		return null;
	}

	public List findById(Integer id) {
		
//		List list = getHibernateTemplate().find("from LogCheck logCheck where logCheck.id=?",id);
		
		return null;
	
	}

	public void insert(Object obj) {
		// TODO Auto-generated method stub

	}

	public void update(Object obj) {
		// TODO Auto-generated method stub

	}

	public List findByUser(String username) {
		
		List list = getHibernateTemplate().find("from Member m where m.username=?",username);
		
		return list;
	}

}
